//分校管理
import {get} from './http'

<<<<<<< HEAD
const school = data => get("https://www.fastmock.site/mock/5351ee92143d05a5599a56b81bb9c124/class/school",data)
const student = data => get("https://www.fastmock.site/mock/5351ee92143d05a5599a56b81bb9c124/class/student",data)
const help = data => get("https://www.fastmock.site/mock/5351ee92143d05a5599a56b81bb9c124/class/help",data)
export default {school,student,help}
=======
const school = data => get("/school",data)
const student = data => get("/student",data)
const help = data => get("/help",data)
export default {school,student,help}
// 引入http.js
import {get, post} from './http';
export const Teacher = data => get("/Teacher",data);

export const Template = data => get("/Template",data);

export const Work = data => get("/Work",data);




// 注册
export const register = data => post("/api/reigster",data);
>>>>>>> 3e3c0f4f17bc187df3f315b6eed3a2da2f99f54a
